﻿using System;
using System.Collections.Generic;
using NUnit.Framework;
using NUnit.Framework.SyntaxHelpers;
using Moq;

namespace Opo.Perspective.Core
{
    [TestFixture(Description = "Tests for Opo.Perspective.Core.Tag")]
    public class TagTests
    {
        [TestFixtureSetUp]
        public void Setup()
        {

        }

        [TestFixtureTearDown]
        public void Teardown()
        {

        }

        [Test]
        public void CanCreateTag()
        {
            Tag tag = new Tag("Tag1");
            Assert.That(tag.TagName, Is.EqualTo("Tag1"));
        }

        [Test]
        public void ToStringIsEqualToTagName()
        {
            Tag tag = new Tag("Tag1");
            Assert.That(tag.ToString(), Is.EqualTo("Tag1"));
        }
    }
}
